<template>
    <div>
        哈哈。我是home1
        <p>{{name}}</p>
        <p>{{age}}</p>
    </div>
</template>

<script>
    export default {
        name: "",
        props: ['name', 'age'],
        mounted() {
            console.log(this.$route.query['name'])
        }
    }
</script>

<style scoped>

</style>
